package org.kotboot;

import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.EnableAutoConfiguration
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.ComponentScan
import tk.mybatis.spring.annotation.MapperScan


@EnableAutoConfiguration
@SpringBootApplication
@ComponentScan(value = arrayOf("org.kotboot","org.monkey"))
@MapperScan(basePackages = arrayOf("org.kotboot.dao"))
open class App

fun main(args : Array<String>){
    SpringApplication.run(App::class.java,*args)

}


